package wangjg.android.media.amr;

public class Encoder {
	
	public native void init();

	public native int encode(byte[] pcm_buf/*short[] pcm_buf*/, byte[] amr_buf, int mode);

	public native void release();

	static {
		System.loadLibrary("amr_encoder");
	}
}
